<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String port = request.getServerPort() == 80 ? "" : ":".concat(request.getServerPort()+"");
	String path = request.getScheme().concat("://").concat(request.getServerName()).concat(port).concat(request.getContextPath());
	request.setAttribute("path", path);
%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html>
<head>
<title>角色编辑 - 个人中心 - IT答案网</title>
<meta name="keywords" content="角色编辑 " />
<meta name="description" content="角色编辑 " />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="${path }/view/portal/css/all.css" rel="stylesheet">
<link href="${path }/view/portal/css/prettify.css" rel="stylesheet">
<script src="${path }/view/portal/js/all.js"></script>
</head>
<body>
  <jsp:include page="head.jsp"></jsp:include>
  <div class="container container1000">
	<div class="content">
		<form class="form-horizontal" method="post" action="${ctx }/user/permission/save">
			<input type="hidden" name="id" value="${permission.id}"/>
		
			<div class="control-group">
				<label class="control-label">权限名称</label>
				<div class="controls">
					<input type="text"  name="name" value="${permission.name }">
				</div>
			</div>		
		
			<div class="control-group">
				<label class="control-label">权限值</label>
				<div class="controls">
					<input type="text"  name="value" value="${permission.value }">
				</div>
			</div>
			
			<div class="control-group">
				<div class="controls">
					<input type="submit" class="btn" value="保存">
				</div>
			</div>
			
		</form>
	
	</div>
   </div>
  <div class="clear">&nbsp;</div>
   
  <jsp:include page="bottom.jsp"></jsp:include>  
</body>
</html>	   